// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)
import { http} from '@/utils/axios/axios'
Vue.prototype.baseURL = http
Vue.prototype.tel = '15023013318'
import '@/assets/css/animate.min.css'
import '@/assets/css/public.css';
import '@/assets/css/header.css';
import '@/assets/css/footer.css';
import '@/assets/css/home.css';
import '@/assets/css/article.css';
import '@/assets/css/solution.css';
import '@/assets/css/case.css';
import '@/assets/css/serve.css';
import '@/assets/css/product.css';
import '@/assets/css/about.css';
import '@/assets/css/less.css';
import '@/assets/css/report.css'
/*import '@/assets/css/main.css';
import '@/assets/css/less.css';

import '@/assets/css/style.css';*/

// 分页组件
import Pagination from "@/components/Pagination";
Vue.component('Pagination', Pagination)
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)
// 配置项
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: 'dist/error.png',
  loading: 'dist/loading.gif',
  attempt: 1
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
